/**
 * 
 */
package com.aceitunaproject.shared.message.getUnit;

import java.io.Serializable;

import com.aceitunaproject.shared.message.Message;

/**
 * @author Federico Bergstein
 *
 * GetUnit Request Message
 *
 */
public class GetUnitRequest implements Message, Serializable {

	private static final long serialVersionUID = -1990169872180700356L;
	
	private String unitID;

	/**
	 * Gets the ID of the Unit to return in the corresponding GetUnitResponse message
     *
	 */
	public String getUnitID() {
		return unitID;
	}

	/**
	 * Sets the ID of the Unit to return in the corresponding GetUnitResponse message
	 * @param unitID
	 */
	public void setUnitID(String unitID) {
		this.unitID = unitID;
	}

	/** 
	 * @see com.aceitunaproject.shared.message.Message#getMessageID()
	 */
	@Override
	public String getMessageID() {

		return "1";//TODO: the client must implement a way to identify each message
	}

	/**
	 * @see com.aceitunaproject.shared.message.Message#getMessageType()
	 */
	@Override
	public String getMessageType() {
		
		return "GetUnitRequest";
	}
	
	

}
